﻿@page "/ocr"
@attribute [TabItemOption(Text = "OCR")]

<a href="https://www.nuget.org/packages/BootstrapBlazor.OCR#readme-body-tab"><h4>光学字符识别 OCR</h4></a>
<hr />
<a href="https://github.com/densen2014/Densen.Extensions/blob/master/Demo/DemoShared/Pages/OcrPage.razor"><h5>页面源码</h5></a>

<Tab IsOnlyRenderActiveTab="true">
    <TabItem Text="OCR">
        <OCR ShowUI="true" ShowUI_Capture="true" ShowUI_Url="true" Debug="true" OnResult="OnResult" />
    </TabItem>
    <TabItem Text="其他">
        <OCR ShowUI="true" ShowUI_Capture="true" ShowUI_Url="false" Debug="true" OnResult="OnResult" AnalyzeImage DetectObjects DetectDomainSpecific />
    </TabItem>
</Tab>
